var count = 0
for var i=0; i<5; i++:
  count += 1
  if count==2:
    count *= 5

=== Converts to ===

var count = 0;
for(var i=0; i<5; i++){
  count += 1;
  if( count==2 ){
    count *= 5;}}


=============================

function plus(a,b):
  return a+b

function triangle(a,b):
  function sqroot(x): return Math.pow(x,.5)
  return sqroot( a*a + b*b )

function hello(x):
  var y = (function():
    return x+" hello!"
  )()
  return y
  
function twice(x,func): return func(func(x))
twice(3, function times5(x):
  return x*5) 

twice(3, function times5(x){
  return x*5
})


twice(3, function times5(x): return x*5)
twice(3, function times5(x){ return x*5 }) 

  
== I DO NOT LIKE THIS PART ==

switch(x):
  case 1:
    console.log(1)
    break;
  case 2:
    console.log(2)
    break;
